-- GENERATED SPELL FOR [Razorfang Ravager] --


function spell0_16933(pUnit, Event) --@Ravage,n/a--
pUnit:FullCastSpellOnTarget(3242,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_16933', 2305, 1)
end

function Sorts_16933(pUnit, Event)
local choix_sorts_16933 = math.random(0, 0)
if choix_sorts_16933 == 0 then
pUnit:RegisterEvent('spell0_16933', 1, 1)
end
end

function mob16933_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_16933', math.random(1500, 3000), 1)
end

function mob16933_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16933_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16933_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(16933, 1, 'mob16933_Action')
RegisterUnitEvent(16933, 2, 'mob16933_Leave')
RegisterUnitEvent(16933, 3, 'mob16933_Kill')
RegisterUnitEvent(16933, 4, 'mob16933_Die')
